package com.gdones.gpt.bus.paytemplate.dto;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author GaoJingBo
 * @since 2023-06-11
 */
@Getter
@Setter
@TableName("t_gpt_pay_template")
@ApiModel(value = "GptPayTemplate对象", description = "")
public class GptPayTemplate implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("支付模板")
    @TableId(value = "payTemplateID", type = IdType.ASSIGN_UUID)
    private String payTemplateID;

    @ApiModelProperty("插入时间")
    @TableField(fill = FieldFill.INSERT)
    private Date insertTime;

    @ApiModelProperty("插入id")
    private String insertID;

    @ApiModelProperty("插入ip")
    private String insertIP;

    @ApiModelProperty("修改时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    @ApiModelProperty("修改id")
    private String updateID;

    @ApiModelProperty("修改ip")
    private String updateIP;

    @ApiModelProperty("是否删除：0 否 1 是")
    @TableLogic
    private Integer isDelete;

    @ApiModelProperty("备注")
    private String comment;

    @ApiModelProperty("数据权限id")
    private String permissionID;

    @ApiModelProperty("操作者本机macID")
    private String localID;

    @ApiModelProperty("模板id")
    private String templateID;

    @ApiModelProperty("支付模板名称")
    private String name;

    @ApiModelProperty("会员类型code")
    private String gptVipTypeCode;

    @ApiModelProperty("会员类型name")
    private String gptVipTypeName;

    @ApiModelProperty("时间单位code")
    private String timeUnitCode;

    @ApiModelProperty("时间单位名称")
    private String timeUnitName;

    @ApiModelProperty("开通后会员时长")
    private Integer vipDayLmit;

    @ApiModelProperty("现价格")
    private BigDecimal price;

    @ApiModelProperty("原价（营销用）")
    private BigDecimal oldPrice;

    @ApiModelProperty("讲解内容")
    private String payDesc;

    @ApiModelProperty("排序")
    private Integer mindex;

    @ApiModelProperty("淘宝链接")
    private String taobaoUrl;

    @ApiModelProperty("是否使用淘宝链接")
    private String isUseTaoBao;

}
